package com.iisageek.client.widgets.xml;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.ClickListener;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;
import com.google.gwt.user.client.ui.Widget;

public class XML implements XMLHandler {

	Node root;
	
	public XML(String file) {
		Server.requestData(file, this);
	}

	public void receivedData(Node root) {
		this.root = root;
	}

	public Node getXML() {
		return root;
	}
}
